public class Simulator {
    Animal i;
    void playSound(Animal animal){
        i = animal;
        System.out.println(i.getAnimalName()+":");
        i.cry();

    }
}
